package com.vidyu.businesslayer.businesscomponents.trackingmerger.impl;

import com.vidyu.businesslayer.businesscomponents.trackingmerger.TrackingReceiver;
import com.vidyu.datalayer.dataaccesscomponents.SessionDbHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 * Session: eyalsa
 * Date: 05/02/12
 * Time: 11:40
 * To change this template use File | Settings | File Templates.
 */
@Component
public class TrackingReceiverImpl implements TrackingReceiver {

    @Autowired
    SessionDbHandler sessionDbHandler;

    public void executeLoop(){}

    public void executeOnce(String testParams){}

    public void saveTracking(String params){
        sessionDbHandler.save(params);
    }
}
